package test;

import java.util.List;

/**
 * Created by kevin on 2020/2/18.
 */
public class test4 {
    public static void main(String[] args) {
     int i = 0;
     Integer j = new Integer(0);
     Integer q = new Integer(2);
     long k = 0;
        System.out.println(i==j);
        System.out.println(j.equals(i));
        System.out.println(j.equals(k));
        System.out.println(j.equals(q));
    }
}
